<template>
  <div class="app-container">
    <el-row :gutter="10" class="mb8">
      <el-col :span="1.5">
        <el-button
          type="primary"
          plain
          icon="el-icon-search"
          size="mini"
          @click="handleSearch"
          >搜索</el-button
        >
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="primary"
          plain
          icon="el-icon-plus"
          size="mini"
          @click="handleImport"
          v-hasPermi="['project:MoldingMstr:import']"
        >
          新增
        </el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="success"
          plain
          icon="el-icon-edit"
          size="mini"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['project:MoldingMstr:import']"
        >
          修改
        </el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="success"
          plain
          icon="el-icon-edit"
          size="mini"
          :disabled="multiple"
          @click="handleCheck"
          v-hasPermi="['project:MoldingMstr:check']"
        >
          审核
        </el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="danger"
          plain
          icon="el-icon-delete"
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['project:MoldingMstr:remove']"
        >
          删除
        </el-button>
      </el-col>

      <el-col :span="1.5">
        <el-button
          type="warning"
          plain
          icon="el-icon-download"
          size="mini"
          :loading="exportLoading"
          @click="handleInspectionExport"
          v-hasPermi="['project:MoldingMstr:exportInspection']"
        >
          工艺稽查导出
        </el-button>
      </el-col>

      <right-toolbar
        :showSearch.sync="showSearch"
        @queryTable="getList"
      ></right-toolbar>
    </el-row>

    <el-table
      @scrollBottom="load"
      highlight-current-row
      height="calc(100% - 50px)"
      border
      stripe
      v-loading="loading"
      :data="MoldingMstrList"
      @selection-change="handleSelectionChange"
      :header-cell-style="{ 'text-align': 'center' }"
    >
      <el-table-column label="#" type="index" width="40" align="center" />
      <el-table-column type="selection" width="55" align="center" />
      <el-table-column
        label="模具编号"
        :show-overflow-tooltip="true"
        align="center"
        prop="moldMjbh"
      />
      <el-table-column
        label="产品名称"
        :show-overflow-tooltip="true"
        align="center"
        prop="itmWlpm"
      />
      <el-table-column
        label="产品编号"
        :show-overflow-tooltip="true"
        align="center"
        prop="moldCustwldm"
      />
      <el-table-column
        label="机台吨位"
        :show-overflow-tooltip="true"
        align="center"
        prop="moldDw"
      />
      <el-table-column
        label="适用机台"
        :show-overflow-tooltip="true"
        align="center"
        prop="docSyjt"
      />
      <el-table-column
        label="产品周期"
        :show-overflow-tooltip="true"
        align="center"
        prop="moldZq"
      />
      <el-table-column
        label="色母比例"
        :show-overflow-tooltip="true"
        align="center"
        prop="moldSmRate"
      >
        <template #default="scope">
          <span>{{
            scope.row.moldSmRate ? scope.row.moldSmRate + "%" : ""
          }}</span>
        </template>
      </el-table-column>

      <el-table-column
        label="烘料温度"
        :show-overflow-tooltip="true"
        align="center"
        prop="moldHlwd"
      />
      <!--      <el-table-column label="设定参数信息" :show-overflow-tooltip="true"  align="center" prop="moldInformation"/>-->
      <el-table-column
        label="创建人员"
        :show-overflow-tooltip="true"
        align="center"
        prop="moldCreateName"
      />
      <el-table-column
        label="创建日期"
        :show-overflow-tooltip="true"
        align="center"
        prop="moldCreateTime"
      />
      <el-table-column
        label="更新人员"
        :show-overflow-tooltip="true"
        align="center"
        prop="moldUpdateName"
      />
      <el-table-column
        label="更新日期"
        :show-overflow-tooltip="true"
        align="center"
        prop="moldUpdateTime"
      />
      <el-table-column
        fixed="right"
        label="操作"
        align="center"
        width="160"
        class-name="small-padding fixed-width"
      >
        <template #default="scope">
          <el-button
            size="mini"
            type="danger"
            style="width: 70px; border-radius: 10%"
            @click="printHandle(scope.row)"
            v-hasPermi="['project:MoldingMstr:export']"
          >
            导出Excel
          </el-button>

          <el-button
            size="mini"
            type="danger"
            style="width: 70px; border-radius: 10%"
            @click="handleImgLook(scope.row)"
            v-hasPermi="['project:MoldingMstr:import']"
          >
            查看PDF
          </el-button>
        </template>
      </el-table-column>
    </el-table>

    <!-- 查询对话框   -->
    <el-dialog
      :title="title"
      v-model="openSearch"
      :close-on-click-modal="false"
      draggable
      width="650px"
      append-to-body
    >
      <el-form
        :model="queryParams"
        ref="queryForm"
        :inline="true"
        v-show="showSearch"
        label-width="68px"
      >
        <el-col :span="24">
          <el-form-item label="开单日期">
            <el-date-picker
              v-model="dateRange"
              size="small"
              style="width: 480px"
              value-format="yyyy-MM-dd HH:mm:ss"
              :default-time="['00:00:00', '23:59:59']"
              type="daterange"
              range-separator="-"
              start-placeholder="开始日期"
              end-placeholder="结束日期"
            />
          </el-form-item>
        </el-col>

        <el-col :span="12">
          <el-form-item label="模具编号" prop="moldMjbh">
            <el-input
              v-model="queryParams.moldMjbh"
              placeholder="请输入模具编号"
              clearable
              size="small"
              @keyup.enter.native="handleQuery"
            />
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="产品编号" prop="moldCustwldm">
            <el-input
              v-model="queryParams.moldCustwldm"
              placeholder="请输入产品编号"
              clearable
              size="small"
              @keyup.enter.native="handleQuery"
            />
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label="机台编号" prop="docSyjt">
            <el-input
              v-model="queryParams.docSyjt"
              placeholder="请输入机台编号"
              clearable
              size="small"
              @keyup.enter.native="handleQuery"
            />
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item>
            <RadioGroup v-model="queryParams.moldZtbz">
              <Radio label="0" style="margin: 0px 30px">未提交</Radio>
              <Radio label="1" style="margin: 0px 30px">待审核</Radio>
              <Radio label="2" style="margin-right: 30px">已审核</Radio>
              <Radio label="" align="right">全部</Radio>
            </RadioGroup>
          </el-form-item>
        </el-col>

        <el-col :span="24">
          <el-form-item
            style="margin-top: 25px; display: flex; justify-content: flex-end"
          >
            <el-button @click="cancel">取消</el-button>
            <el-button type="primary" @click="handleQuery">确认</el-button>
          </el-form-item>
        </el-col>
      </el-form>
    </el-dialog>

    <!-- 添加或修改注塑成型参数标准导入对话框 -->
    <el-dialog
      :title="title"
      v-model="open"
      :close-on-click-modal="false"
      draggable
      width="500px"
      append-to-body
    >
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="模具编号" prop="moldMjbh">
          <el-input v-model="form.moldMjbh" placeholder="请输入模具编号" />
        </el-form-item>
        <el-form-item label="产品编号" prop="moldCustwldm">
          <el-input v-model="form.moldCustwldm" placeholder="请输入产品编号" />
        </el-form-item>
        <el-form-item label="机台吨位" prop="moldDw">
          <el-input v-model="form.moldDw" placeholder="请输入机台吨位" />
        </el-form-item>
        <el-form-item label="产品周期" prop="moldZq">
          <el-input v-model="form.moldZq" placeholder="请输入产品周期" />
        </el-form-item>
        <el-form-item label="色母比例" prop="moldSmRate">
          <el-input v-model="form.moldSmRate" placeholder="请输入色母比例" />
        </el-form-item>
        <el-form-item label="烘料温度" prop="moldHlwd">
          <el-input v-model="form.moldHlwd" placeholder="请输入烘料温度" />
        </el-form-item>
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="submitForm">确 定</el-button>
        <el-button @click="cancel">取 消</el-button>
      </div>
    </el-dialog>
    <!-- 注塑参数成型表 -->
    <el-dialog
      :title="title"
      v-model="moldOpen"
      class="pdDialog"
      :close-on-click-modal="false"
      width="1100px"
    >
      <el-form
        ref="pdForm"
        :model="moldingForm"
        label-width="90px"
        inline
        size="mini"
        class="pdForm"
        :rules="rules2"
      >
        <table
          class="table-border"
          style="width: 1000px; table-layout: fixed; text-align: center"
        >
          <colgroup>
            <col
              width="26"
              style="mso-width-source: userset; mso-width-alt: 832"
            />
            <col
              width="29"
              span="2"
              style="mso-width-source: userset; mso-width-alt: 928"
            />
            <col
              width="37"
              span="8"
              style="mso-width-source: userset; mso-width-alt: 1184"
            />
            <col
              width="54"
              style="mso-width-source: userset; mso-width-alt: 1728"
            />
            <col
              width="37"
              span="2"
              style="mso-width-source: userset; mso-width-alt: 1184"
            />
            <col
              width="28"
              style="mso-width-source: userset; mso-width-alt: 896"
            />
            <col
              width="37"
              style="mso-width-source: userset; mso-width-alt: 1184"
            />
            <col
              width="75"
              class="xl66"
              style="mso-width-source: userset; mso-width-alt: 2400"
            />
            <col
              width="34"
              class="xl66"
              style="mso-width-source: userset; mso-width-alt: 1088"
            />
            <col
              width="47"
              style="mso-width-source: userset; mso-width-alt: 1504"
            />
            <col
              width="75"
              style="mso-width-source: userset; mso-width-alt: 2400"
            />
          </colgroup>
          <tbody>
            <tr
              height="32"
              style="
                height: 24pt;
                mso-height-source: userset;
                mso-height-alt: 480;
              "
            >
              <td
                class="xl70"
                height="32"
                colspan="2"
                style="
                  height: 24pt;
                  border-right: 0.5pt solid windowtext;
                  border-bottom: 0.5pt solid windowtext;
                "
              >
                客户
              </td>
              <td class="xl72" colspan="4">
                <el-input
                  v-model="moldingForm.cusName"
                  readonly
                  placeholder="自动生成"
                  class="readonlyInput"
                />
              </td>
              <td class="xl70" colspan="3">产品名称</td>
              <td class="xl97" colspan="3">
                <el-input
                  v-model="moldingForm.itmWlpm"
                  disabled
                  readonly
                  placeholder="自动生成"
                  class="readonlyInput"
                />
              </td>
              <td class="xl70" colspan="3">机台规格</td>
              <td class="xl100" colspan="2">
                <el-input v-model="moldingForm.moldDw" class="readonlyInput" />
              </td>
              <td class="xl70" colspan="2">模穴数</td>
              <td class="xl72">
                <el-input
                  v-model="moldingForm.mjmXs"
                  disabled
                  readonly
                  placeholder="自动生成"
                  class="readonlyInput"
                />
              </td>
            </tr>
            <tr
              height="40"
              style="
                height: 30pt;
                mso-height-source: userset;
                mso-height-alt: 600;
              "
            >
              <td
                class="xl70"
                height="40"
                colspan="2"
                style="
                  height: 30pt;
                  border-right: 0.5pt solid windowtext;
                  border-bottom: 0.5pt solid windowtext;
                "
              >
                原料
              </td>
              <td class="xl75" colspan="4">
                <el-input
                  v-model="moldingForm.moldRawMaterial"
                  disabled
                  readonly
                  placeholder="自动生成"
                  class="readonlyInput"
                />
              </td>
              <td class="xl70" colspan="3">物料编码</td>
              <td class="xl101" colspan="3">
                <el-form-item prop="moldCustwldm">
                  <el-select
                    :disabled="title === '修改注塑参数成型表'"
                    v-model="moldingForm.moldCustwldm"
                    @change="getPmgg(moldingForm.moldCustwldm)"
                    filterable
                    placeholder="请输入物料代码"
                    clearable
                    size="small"
                  >
                    <el-option
                      v-for="dict in custwldmList"
                      :label="dict.itmCustwldm"
                      :key="dict.itmCustwldm"
                      :value="dict.itmCustwldm"
                    />
                  </el-select>
                </el-form-item>
              </td>
              <td class="xl70" colspan="3">模具编码</td>
              <td class="xl104" colspan="2">
                <el-form-item prop="moldMjbh">
                  <el-select
                    :disabled="title === '修改注塑参数成型表'"
                    v-model="moldingForm.moldMjbh"
                    :filter-method="getMjbhListTOP50"
                    @change="getCustom(moldingForm.moldMjbh)"
                    filterable
                    placeholder="请输入模具编号"
                    clearable
                    size="small"
                  >
                    <el-option
                      v-for="dict in mjmMjbhList"
                      :label="dict"
                      :key="dict"
                      :value="dict"
                    />
                  </el-select>
                </el-form-item>
              </td>
              <td class="xl70" colspan="2">产品周期</td>
              <td class="xl72">
                <el-form-item prop="moldZq">
                  <el-input
                    v-model="moldingForm.moldZq"
                    class="readonlyInput"
                  />
                </el-form-item>
              </td>
            </tr>
            <tr
              height="40"
              style="
                height: 30pt;
                mso-height-source: userset;
                mso-height-alt: 600;
              "
            >
              <td
                class="xl70"
                height="40"
                colspan="2"
                style="
                  height: 30pt;
                  border-right: 0.5pt solid windowtext;
                  border-bottom: 0.5pt solid windowtext;
                "
              >
                色母
              </td>
              <td class="xl75" colspan="4">
                <el-input
                  v-model="moldingForm.molSm"
                  disabled
                  readonly
                  placeholder="自动生成"
                  class="readonlyInput"
                />
              </td>
              <td class="xl70" colspan="3">产品颜色</td>
              <td class="xl105" colspan="3">
                <el-input
                  v-model="moldingForm.itmYsdm"
                  disabled
                  readonly
                  placeholder="自动生成"
                  class="readonlyInput"
                />
              </td>
              <td class="xl70" colspan="3">烘料温度</td>
              <td class="xl106" colspan="2">
                <el-form-item prop="moldHlwd">
                  <el-input
                    v-model="moldingForm.moldHlwd"
                    autosize
                    class="readonlyInput"
                    ><template #append>℃</template></el-input
                  >
                </el-form-item>
              </td>
              <td class="xl118" colspan="2">
                色母添加
                <br />
                比例
              </td>
              <td class="xl119">
                <el-form-item prop="moldSmRate">
                  <el-input
                    v-model="moldingForm.moldSmRate"
                    autosize
                    class="readonlyInput"
                    ><template #append>%</template></el-input
                  >
                </el-form-item>
              </td>
            </tr>
            <tr height="20">
              <td
                class="xl70"
                height="20"
                colspan="20"
                style="
                  height: 15pt;
                  border-right: 0.5pt solid windowtext;
                  border-bottom: 0.5pt solid windowtext;
                "
              >
                成型参数设定
              </td>
            </tr>
            <tr height="20">
              <td
                class="xl78"
                height="240"
                rowspan="12"
                style="
                  height: 180pt;
                  border-right: 0.5pt solid windowtext;
                  border-bottom: 0.5pt solid windowtext;
                "
              >
                成型参数设定
              </td>
              <td class="xl79" colspan="3">项目</td>
              <td class="xl72" colspan="3">压力</td>
              <td class="xl79" colspan="2">速度</td>
              <td class="xl72" colspan="3">位置/时间</td>
              <td class="xl79" colspan="3">项目</td>
              <td class="xl72">背压</td>
              <td class="xl111">压力</td>
              <td class="xl122" colspan="2">速度</td>
              <td class="xl111">位置</td>
            </tr>
            <tr height="20">
              <td class="xl79" colspan="3">射胶1</td>
              <td class="xl72" colspan="3">
                <el-input
                  v-model="moldingForm.sgPressure1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="2">
                <el-input
                  v-model="moldingForm.sgSpeed1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="3">
                <el-input
                  v-model="moldingForm.sgLocation1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="3">储料1</td>
              <td class="xl72">
                <el-input
                  v-model="moldingForm.storingBackPressure1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl111">
                <el-input
                  v-model="moldingForm.storingPressure1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl122" colspan="2">
                <el-input
                  v-model="moldingForm.storingSpeed1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72">
                <el-input
                  v-model="moldingForm.storingLocation1"
                  class="readonlyInput"
                />
              </td>
            </tr>
            <tr height="20">
              <td class="xl79" colspan="3">射胶2</td>
              <td class="xl72" colspan="3">
                <el-input
                  v-model="moldingForm.sgPressure2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="2">
                <el-input
                  v-model="moldingForm.sgSpeed2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="3">
                <el-input
                  v-model="moldingForm.sgLocation2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="3">储料2</td>
              <td class="xl72">
                <el-input
                  v-model="moldingForm.storingBackPressure2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl111">
                <el-input
                  v-model="moldingForm.storingPressure2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl122" colspan="2">
                <el-input
                  v-model="moldingForm.storingSpeed2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72">
                <el-input
                  v-model="moldingForm.storingLocation2"
                  class="readonlyInput"
                />
              </td>
            </tr>
            <tr height="20">
              <td class="xl79" colspan="3">射胶3</td>
              <td class="xl72" colspan="3">
                <el-input
                  v-model="moldingForm.sgPressure3"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="2">
                <el-input
                  v-model="moldingForm.sgSpeed3"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="3">
                <el-input
                  v-model="moldingForm.sgLocation3"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="3">储料3</td>
              <td class="xl72">
                <el-input
                  v-model="moldingForm.storingBackPressure3"
                  class="readonlyInput"
                />
              </td>
              <td class="xl111">
                <el-input
                  v-model="moldingForm.storingPressure3"
                  class="readonlyInput"
                />
              </td>
              <td class="xl122" colspan="2">
                <el-input
                  v-model="moldingForm.storingSpeed3"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72">
                <el-input
                  v-model="moldingForm.storingLocation3"
                  class="readonlyInput"
                />
              </td>
            </tr>
            <tr height="20">
              <td class="xl79" colspan="3">射胶4</td>
              <td class="xl72" colspan="3">
                <el-input
                  v-model="moldingForm.sgPressure4"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="2">
                <el-input
                  v-model="moldingForm.sgSpeed4"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="3">
                <el-input
                  v-model="moldingForm.sgLocation4"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="3">松退</td>
              <td class="xl72">
                <el-input disabled readonly class="readonlyInput" />
              </td>
              <td class="xl111">
                <el-input
                  v-model="moldingForm.sbdPressure"
                  class="readonlyInput"
                />
              </td>
              <td class="xl122" colspan="2">
                <el-input
                  v-model="moldingForm.sbdSpeed"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72">
                <el-input
                  v-model="moldingForm.sbdLocation"
                  class="readonlyInput"
                />
              </td>
            </tr>
            <tr height="20">
              <td class="xl79" colspan="3">射胶5</td>
              <td class="xl72" colspan="3">
                <el-input
                  v-model="moldingForm.sgPressure5"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="2">
                <el-input
                  v-model="moldingForm.sgSpeed5"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="3">
                <el-input
                  v-model="moldingForm.sgLocation5"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="3">射出时间</td>
              <td class="xl72" colspan="5">
                <el-input
                  v-model="moldingForm.injectionTime"
                  class="readonlyInput"
                />
              </td>
            </tr>
            <tr height="20">
              <td class="xl79" colspan="3">射胶6</td>
              <td class="xl72" colspan="3">
                <el-input
                  v-model="moldingForm.sgPressure6"
                  readonly
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="2">
                <el-input
                  v-model="moldingForm.sgSpeed6"
                  readonly
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="3">
                <el-input
                  v-model="moldingForm.sgLocation6"
                  readonly
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="3">冷却时间</td>
              <td class="xl72" colspan="5">
                <el-input
                  v-model="moldingForm.coolingTime"
                  class="readonlyInput"
                />
              </td>
            </tr>
            <tr height="20">
              <td class="xl79" colspan="3">保压1</td>
              <td class="xl72" colspan="3">
                <el-input
                  v-model="moldingForm.pmPressure1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="2">
                <el-input
                  v-model="moldingForm.pmSpeed1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl107" colspan="3">
                <el-input
                  v-model="moldingForm.pmLocation1"
                  class="readonlyInput"
                />
                <span style="mso-spacerun: yes">&nbsp;</span>
              </td>
              <td class="xl79" colspan="3">储料时间</td>
              <td class="xl72" colspan="5">
                <el-input
                  v-model="moldingForm.storingTime"
                  class="readonlyInput"
                />
              </td>
            </tr>
            <tr height="20">
              <td class="xl79" colspan="3">保压2</td>
              <td class="xl72" colspan="3">
                <el-input
                  v-model="moldingForm.pmPressure2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="2">
                <el-input
                  v-model="moldingForm.pmSpeed2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl107" colspan="3">
                <el-input
                  v-model="moldingForm.pmLocation2"
                  class="readonlyInput"
                />
                <span style="mso-spacerun: yes">&nbsp;</span>
              </td>
              <td class="xl79" colspan="3">残量mm</td>
              <td class="xl72" colspan="5">
                <el-input
                  v-model="moldingForm.remnantMM"
                  class="readonlyInput"
                />
              </td>
            </tr>
            <tr height="20">
              <td class="xl79" colspan="3">保压3</td>
              <td class="xl72" colspan="3">
                <el-input
                  v-model="moldingForm.pmPressure3"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="2">
                <el-input
                  v-model="moldingForm.pmSpeed3"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="3">
                <el-input
                  v-model="moldingForm.pmLocation3"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="3">保压切换</td>
              <td class="xl72" colspan="5">
                <el-input
                  v-model="moldingForm.pmSwitchover"
                  class="readonlyInput"
                />
              </td>
            </tr>
            <tr height="20">
              <td class="xl79" colspan="3">料筒温度</td>
              <td class="xl72" colspan="3">第1段</td>
              <td class="xl79" colspan="2">第2段</td>
              <td class="xl79" colspan="3">第3段</td>
              <td class="xl79" colspan="3">第4段</td>
              <td class="xl79" colspan="2">第5段</td>
              <td class="xl79" colspan="2">第6段</td>
              <td class="xl72">第7段</td>
            </tr>
            <tr height="20">
              <td class="xl79" colspan="3">实际温度</td>
              <td class="xl72" colspan="3">
                <el-input
                  v-model="moldingForm.ctNozzle"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="2">
                <el-input v-model="moldingForm.ct1" class="readonlyInput" />
              </td>
              <td class="xl79" colspan="3">
                <el-input v-model="moldingForm.ct2" class="readonlyInput" />
              </td>
              <td class="xl79" colspan="3">
                <el-input v-model="moldingForm.ct3" class="readonlyInput" />
              </td>
              <td class="xl79" colspan="2">
                <el-input v-model="moldingForm.ct4" class="readonlyInput" />
              </td>
              <td class="xl122" colspan="2">
                <el-input v-model="moldingForm.ct5" class="readonlyInput" />
              </td>
              <td class="xl72">
                <el-input v-model="moldingForm.ct6" class="readonlyInput" />
              </td>
            </tr>
            <tr
              height="6.80"
              style="
                height: 5.1pt;
                mso-height-source: userset;
                mso-height-alt: 102;
              "
            >
              <td
                class="xl82"
                height="6.80"
                colspan="20"
                style="
                  height: 5.1pt;
                  border-right: 0.5pt solid windowtext;
                  border-bottom: 0.5pt solid windowtext;
                "
              ></td>
            </tr>
            <tr height="20">
              <td
                class="xl78"
                height="140"
                rowspan="7"
                style="
                  height: 105pt;
                  border-right: 0.5pt solid windowtext;
                  border-bottom: 0.5pt solid windowtext;
                "
              >
                时序控制器设定
              </td>
              <td class="xl79" colspan="2">进胶点</td>
              <td class="xl81">延时</td>
              <td class="xl79" colspan="2">开放</td>
              <td class="xl79" colspan="2">进胶点</td>
              <td class="xl81">延时</td>
              <td class="xl81">开放</td>
              <td class="xl79" colspan="2">进胶点</td>
              <td class="xl79" colspan="2">延时</td>
              <td class="xl79" colspan="2">开放</td>
              <td class="xl72" colspan="4">阀针位置简要描述</td>
            </tr>
            <tr height="20">
              <td class="xl72" colspan="2">T1</td>
              <td class="xl83">
                <el-input
                  v-model="moldingForm.tsTimeDelay1"
                  class="readonlyInput"
                />
                <span style="mso-spacerun: yes">&nbsp;</span>
              </td>
              <td class="xl84" colspan="2">
                <el-input v-model="moldingForm.tsOpen1" class="readonlyInput" />
                <span style="mso-spacerun: yes">&nbsp;</span>
              </td>
              <td class="xl79" colspan="2">T7</td>
              <td class="xl83">
                <el-input
                  v-model="moldingForm.tsTimeDelay7"
                  class="readonlyInput"
                />
              </td>
              <td class="xl83">
                <el-input v-model="moldingForm.tsOpen7" class="readonlyInput" />
              </td>
              <td class="xl79" colspan="2">T13</td>
              <td class="xl84" colspan="2">
                <el-input
                  v-model="moldingForm.tsTimeDelay13"
                  class="readonlyInput"
                />
              </td>
              <td class="xl84" colspan="2">
                <el-input
                  v-model="moldingForm.tsOpen13"
                  class="readonlyInput"
                />
              </td>
              <td rowspan="12" colspan="4">
                <el-input
                  type="textarea"
                  v-model="moldingForm.rightDesc1"
                  class="readonlyInput"
                  rows="18"
                />
              </td>
            </tr>
            <tr height="20">
              <td class="xl72" colspan="2">T2</td>
              <td class="xl83">
                <el-input
                  v-model="moldingForm.tsTimeDelay2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl84" colspan="2">
                <el-input v-model="moldingForm.tsOpen2" class="readonlyInput" />
              </td>
              <td class="xl79" colspan="2">T8</td>
              <td class="xl83">
                <el-input
                  v-model="moldingForm.tsTimeDelay8"
                  class="readonlyInput"
                />
              </td>
              <td class="xl83">
                <el-input v-model="moldingForm.tsOpen8" class="readonlyInput" />
              </td>
              <td class="xl79" colspan="2">T14</td>
              <td class="xl84" colspan="2">
                <el-input
                  v-model="moldingForm.tsTimeDelay14"
                  class="readonlyInput"
                />
              </td>
              <td class="xl84" colspan="2">
                <el-input
                  v-model="moldingForm.tsOpen14"
                  class="readonlyInput"
                />
              </td>
            </tr>
            <tr height="20">
              <td class="xl72" colspan="2">T3</td>
              <td class="xl85">
                <el-input
                  v-model="moldingForm.tsTimeDelay3"
                  class="readonlyInput"
                />
              </td>
              <td
                class="xl86"
                colspan="2"
                style="border-right: none; border-bottom: none"
              >
                <el-input v-model="moldingForm.tsOpen3" class="readonlyInput" />
              </td>
              <td class="xl79" colspan="2">T9</td>
              <td class="xl83">
                <el-input
                  v-model="moldingForm.tsTimeDelay9"
                  class="readonlyInput"
                />
              </td>
              <td class="xl83">
                <el-input v-model="moldingForm.tsOpen9" class="readonlyInput" />
              </td>
              <td class="xl79" colspan="2">T15</td>
              <td class="xl84" colspan="2">
                <el-input
                  v-model="moldingForm.tsTimeDelay15"
                  class="readonlyInput"
                />
              </td>
              <td class="xl84" colspan="2">
                <el-input
                  v-model="moldingForm.tsOpen15"
                  class="readonlyInput"
                />
              </td>
            </tr>
            <tr height="20">
              <td class="xl72" colspan="2">T4</td>
              <td class="xl83">
                <el-input
                  v-model="moldingForm.tsTimeDelay4"
                  class="readonlyInput"
                />
              </td>
              <td
                class="xl86"
                colspan="2"
                style="border-right: none; border-bottom: none"
              >
                <el-input v-model="moldingForm.tsOpen4" class="readonlyInput" />
              </td>
              <td class="xl79" colspan="2">T10</td>
              <td class="xl85">
                <el-input
                  v-model="moldingForm.tsTimeDelay10"
                  class="readonlyInput"
                />
              </td>
              <td class="xl85">
                <el-input
                  v-model="moldingForm.tsOpen10"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="2">T16</td>
              <td class="xl84" colspan="2">
                <el-input
                  v-model="moldingForm.tsTimeDelay16"
                  class="readonlyInput"
                />
              </td>
              <td class="xl84" colspan="2">
                <el-input
                  v-model="moldingForm.tsOpen16"
                  class="readonlyInput"
                />
              </td>
            </tr>
            <tr height="20">
              <td class="xl72" colspan="2">T5</td>
              <td class="xl83">
                <el-input
                  v-model="moldingForm.tsTimeDelay5"
                  class="readonlyInput"
                />
              </td>
              <td class="xl84" colspan="2">
                <el-input v-model="moldingForm.tsOpen5" class="readonlyInput" />
              </td>
              <td class="xl79" colspan="2">T11</td>
              <td class="xl85">
                <el-input
                  v-model="moldingForm.tsTimeDelay11"
                  class="readonlyInput"
                />
              </td>
              <td class="xl85">
                <el-input
                  v-model="moldingForm.tsOpen11"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="2">T17</td>
              <td class="xl84" colspan="2">
                <el-input
                  v-model="moldingForm.tsTimeDelay17"
                  class="readonlyInput"
                />
              </td>
              <td class="xl84" colspan="2">
                <el-input
                  v-model="moldingForm.tsOpen17"
                  class="readonlyInput"
                />
              </td>
            </tr>
            <tr height="20">
              <td class="xl72" colspan="2">T6</td>
              <td class="xl83">
                <el-input
                  v-model="moldingForm.tsTimeDelay6"
                  class="readonlyInput"
                />
              </td>
              <td class="xl84" colspan="2">
                <el-input v-model="moldingForm.tsOpen6" class="readonlyInput" />
              </td>
              <td class="xl79" colspan="2">T12</td>
              <td class="xl85">
                <el-input
                  v-model="moldingForm.tsTimeDelay12"
                  class="readonlyInput"
                />
              </td>
              <td class="xl83">
                <el-input
                  v-model="moldingForm.tsOpen12"
                  class="readonlyInput"
                />
              </td>
              <td class="xl79" colspan="2">T18</td>
              <td class="xl84" colspan="2">
                <el-input
                  v-model="moldingForm.tsTimeDelay18"
                  class="readonlyInput"
                />
              </td>
              <td class="xl84" colspan="2">
                <el-input
                  v-model="moldingForm.tsOpen18"
                  class="readonlyInput"
                />
              </td>
            </tr>
            <tr height="20">
              <td
                class="xl78"
                height="120"
                rowspan="6"
                style="
                  height: 90pt;
                  border-right: 0.5pt solid windowtext;
                  border-bottom: 0.5pt solid windowtext;
                "
              >
                热流道温度
              </td>
              <td class="xl87" colspan="2">T1</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr1" class="readonlyInput" />
              </td>
              <td class="xl88">T7</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr7" class="readonlyInput" />
              </td>
              <td class="xl88">T13</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr13" class="readonlyInput" />
              </td>
              <td class="xl72">T19</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr19" class="readonlyInput" />
              </td>
              <td class="xl72">T25</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr25" class="readonlyInput" />
              </td>
              <td class="xl72">T31</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr31" class="readonlyInput" />
              </td>
              <td class="xl72">T37</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr37" class="readonlyInput" />
              </td>
            </tr>
            <tr height="20">
              <td class="xl87" colspan="2">T2</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr2" class="readonlyInput" />
              </td>
              <td class="xl88">T8</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr8" class="readonlyInput" />
              </td>
              <td class="xl88">T14</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr14" class="readonlyInput" />
              </td>
              <td class="xl72">T20</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr20" class="readonlyInput" />
              </td>
              <td class="xl72">T26</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr26" class="readonlyInput" />
              </td>
              <td class="xl72">T32</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr32" class="readonlyInput" />
              </td>
              <td class="xl72">T38</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr38" class="readonlyInput" />
              </td>
            </tr>
            <tr height="20">
              <td class="xl87" colspan="2">T3</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr3" class="readonlyInput" />
              </td>
              <td class="xl88">T9</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr9" class="readonlyInput" />
              </td>
              <td class="xl88">T15</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr15" class="readonlyInput" />
              </td>
              <td class="xl72">T21</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr21" class="readonlyInput" />
              </td>
              <td class="xl72">T27</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr27" class="readonlyInput" />
              </td>
              <td class="xl72">T33</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr33" class="readonlyInput" />
              </td>
              <td class="xl72">T39</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr39" class="readonlyInput" />
              </td>
            </tr>
            <tr height="20">
              <td class="xl87" colspan="2">T4</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr4" class="readonlyInput" />
              </td>
              <td class="xl88">T10</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr10" class="readonlyInput" />
              </td>
              <td class="xl88">T16</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr16" class="readonlyInput" />
              </td>
              <td class="xl72">T22</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr22" class="readonlyInput" />
              </td>
              <td class="xl72">T28</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr28" class="readonlyInput" />
              </td>
              <td class="xl72">T34</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr34" class="readonlyInput" />
              </td>
              <td class="xl72">T40</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr40" class="readonlyInput" />
              </td>
            </tr>
            <tr height="20">
              <td class="xl87" colspan="2">T5</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr5" class="readonlyInput" />
              </td>
              <td class="xl88">T11</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr11" class="readonlyInput" />
              </td>
              <td class="xl88">T17</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr17" class="readonlyInput" />
              </td>
              <td class="xl72">T23</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr23" class="readonlyInput" />
              </td>
              <td class="xl72">T29</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr29" class="readonlyInput" />
              </td>
              <td class="xl72">T35</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr35" class="readonlyInput" />
              </td>
              <td class="xl72">T41</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr41" class="readonlyInput" />
              </td>
            </tr>
            <tr height="20">
              <td class="xl87" colspan="2">T6</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr6" class="readonlyInput" />
              </td>
              <td class="xl88">T12</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr12" class="readonlyInput" />
              </td>
              <td class="xl88">T18</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr18" class="readonlyInput" />
              </td>
              <td class="xl72">T24</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr24" class="readonlyInput" />
              </td>
              <td class="xl72">T30</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr30" class="readonlyInput" />
              </td>
              <td class="xl72">T36</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr36" class="readonlyInput" />
              </td>
              <td class="xl72">T42</td>
              <td class="xl88">
                <el-input v-model="moldingForm.hr42" class="readonlyInput" />
              </td>
            </tr>
            <tr height="20">
              <td
                class="xl78"
                height="80"
                rowspan="4"
                style="
                  height: 60pt;
                  border-right: 0.5pt solid windowtext;
                  border-bottom: 0.5pt solid windowtext;
                "
              >
                模
                <span style="mso-spacerun: yes">&nbsp;</span>
                温
                <span style="mso-spacerun: yes">&nbsp;</span>
                设
                <span style="mso-spacerun: yes">&nbsp;</span>
                定
              </td>
              <td class="xl89" colspan="15">
                <el-input v-model="moldingForm.dt1" class="readonlyInput" />
                <el-input v-model="moldingForm.dt2" class="readonlyInput" />
              </td>
              <td class="xl135" colspan="4" rowspan="4">
                备注：
                <el-input
                  type="textarea"
                  v-model="moldingForm.rightDesc2"
                  class="readonlyInput"
                  rows="5"
                />
              </td>
            </tr>
            <tr height="20">
              <td class="xl89" colspan="15">
                <el-input v-model="moldingForm.dt3" class="readonlyInput" />
              </td>
            </tr>
            <tr height="20">
              <td class="xl79" colspan="15">
                <el-input v-model="moldingForm.dt4" class="readonlyInput" />
              </td>
            </tr>
            <tr height="20"></tr>
            <tr
              height="6.80"
              style="
                height: 5.1pt;
                mso-height-source: userset;
                mso-height-alt: 102;
              "
            >
              <td
                class="xl91"
                height="6.80"
                colspan="20"
                style="
                  height: 5.1pt;
                  border-right: 0.5pt solid windowtext;
                  border-bottom: 0.5pt solid windowtext;
                "
              ></td>
            </tr>
            <tr height="20">
              <td
                class="xl78"
                height="200"
                rowspan="10"
                style="
                  height: 150pt;
                  border-right: 0.5pt solid windowtext;
                  border-bottom: 0.5pt solid windowtext;
                "
              >
                开关模
                <span style="mso-spacerun: yes">&nbsp;</span>
                / 顶出
              </td>
              <td class="xl78" rowspan="6">
                合
                <br />
                <br />
                模
              </td>
              <td class="xl72" colspan="3">项目</td>
              <td class="xl72" colspan="2">压力</td>
              <td class="xl72" colspan="2">速度</td>
              <td class="xl72" colspan="2">位置</td>
              <td class="xl110" rowspan="6">
                开
                <br />
                <br />
                模
              </td>
              <td class="xl72" colspan="3">项目</td>
              <td class="xl111">压力</td>
              <td class="xl146">速度</td>
              <td class="xl146" colspan="2">位置</td>
              <td class="xl146">低压时间</td>
            </tr>
            <tr height="20">
              <td class="xl72" colspan="3">关模快速</td>
              <td
                class="xl93"
                colspan="2"
                style="border-right: none; border-bottom: none"
              >
                <el-input
                  v-model="moldingForm.msPressureFast"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.msSpeedFast"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.msLocationFast"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="3">开模一段</td>
              <td class="xl111">
                <el-input
                  v-model="moldingForm.omPressure1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72">
                <el-input
                  v-model="moldingForm.omSpeed1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.omLocation1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" rowspan="4">
                <el-input
                  type="textarea"
                  v-model="moldingForm.lpTime"
                  class="readonlyInput"
                  rows="5"
                />
              </td>
            </tr>
            <tr height="20">
              <td class="xl72" colspan="3">关模中速</td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.msPressureMS"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.msSpeedMS"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.msLocationMS"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="3">开模二段</td>
              <td class="xl111">
                <el-input
                  v-model="moldingForm.omPressure2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72">
                <el-input
                  v-model="moldingForm.omSpeed2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.omLocation2"
                  class="readonlyInput"
                />
              </td>
            </tr>
            <tr height="20">
              <td class="xl72" colspan="3">关模慢速</td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.msPressureSlow"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.msSpeedSlow"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.msLocationSlow"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="3">开模三段</td>
              <td class="xl111">
                <el-input
                  v-model="moldingForm.omPressure3"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72">
                <el-input
                  v-model="moldingForm.omSpeed3"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.omLocation3"
                  class="readonlyInput"
                />
              </td>
            </tr>
            <tr height="20">
              <td class="xl72" colspan="3">关模低压</td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.msPressureLP"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.msSpeedLP"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.msLocationLP"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="3">开模四段</td>
              <td class="xl111">
                <el-input
                  v-model="moldingForm.omPressure4"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72">
                <el-input
                  v-model="moldingForm.omSpeed4"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.omLocation4"
                  class="readonlyInput"
                />
              </td>
            </tr>
            <tr height="20">
              <td class="xl72" colspan="3">关模高压</td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.msPressureHP"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.msSpeedHP"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.msLocationHP"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="3">开模终点</td>
              <td class="xl111">
                <el-input
                  v-model="moldingForm.omPressureEnd"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72">
                <el-input
                  v-model="moldingForm.omSpeedEnd"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.omLocationEnd"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72">时间</td>
            </tr>
            <tr height="20">
              <td class="xl78" rowspan="4">
                顶
                <br />
                <br />
                出
              </td>
              <td class="xl72" colspan="3">顶针进一</td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.dzjPressure1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.dzjSpeed1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.dzjLocation1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl110" rowspan="4">
                中
                <br />
                <br />
                子
              </td>
              <td class="xl72" colspan="3">中子一进</td>
              <td class="xl111">
                <el-input
                  v-model="moldingForm.zzjPressure1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72">
                <el-input
                  v-model="moldingForm.zzjSpeed1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.zzjLocation1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72">
                <el-input v-model="moldingForm.times1" class="readonlyInput" />
              </td>
            </tr>
            <tr height="20">
              <td class="xl72" colspan="3">顶针进二</td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.dzjPressure2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.dzjSpeed2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.dzjLocation2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="3">中子一退</td>
              <td class="xl111">
                <el-input
                  v-model="moldingForm.zztPressure1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72">
                <el-input
                  v-model="moldingForm.zztSpeed1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.zztLocation1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72">
                <el-input v-model="moldingForm.times2" class="readonlyInput" />
              </td>
            </tr>
            <tr height="20">
              <td class="xl72" colspan="3">顶针退一</td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.dztPressure1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.dztSpeed1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.dztLocation1"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="3">中子二进</td>
              <td class="xl111">
                <el-input
                  v-model="moldingForm.zzjPressure2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72">
                <el-input
                  v-model="moldingForm.zzjSpeed2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.zzjLocation2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72">
                <el-input v-model="moldingForm.times3" class="readonlyInput" />
              </td>
            </tr>
            <tr height="20">
              <td class="xl72" colspan="3">顶针退二</td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.dztPressure2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.dztSpeed2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl85" colspan="2">
                <el-input
                  v-model="moldingForm.dztLocation2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="3">中子二退</td>
              <td class="xl111">
                <el-input
                  v-model="moldingForm.zztPressure2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72">
                <el-input
                  v-model="moldingForm.zztSpeed2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72" colspan="2">
                <el-input
                  v-model="moldingForm.zztLocation2"
                  class="readonlyInput"
                />
              </td>
              <td class="xl72">
                <el-input v-model="moldingForm.times4" class="readonlyInput" />
              </td>
            </tr>
          </tbody>
        </table>
      </el-form>

      <div slot="footer" class="dialog-footer">
        <el-button @click="moldOpen = false">取 消</el-button>
        <el-button type="primary" @click="saveMolding">确 定</el-button>
      </div>
    </el-dialog>

    <!--    成型参数弹窗-->
    <el-dialog
      :title="title"
      v-model="openStrA"
      :close-on-click-modal="false"
      draggable
      width="500px"
      append-to-body
    >
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-col :span="24">
          <el-form-item label="机台吨位" prop="moldJtdw">
            <el-select
              v-model="moldJtdw"
              filterable
              clearable
              placeholder="请选择机台吨位"
            >
              <el-option
                v-for="dict in jtdwOptions"
                :key="dict.jtm_jtdw_key"
                :label="dict.jtm_jtdw"
                :value="dict.jtm_jtdw_key"
              ></el-option>
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="20">
          <el-form-item label="适用机台" prop="moldJt">
            <el-input v-model="moldJt" disabled />
          </el-form-item>
        </el-col>
        <el-col :span="2" style="margin-left: 15px">
          <el-button
            type="primary"
            icon="el-icon-plus"
            circle
            @click="clickChoose"
            :disabled="!this.moldJtdw"
          ></el-button>
        </el-col>
        <el-col :span="24">
          <div
            class="dialog-footer"
            style="display: flex; justify-content: flex-end"
          >
            <el-button @click="cancel">取 消</el-button>
            <el-button :disabled="!moldJtdw" @click="handleOpenForm"
              >确 定</el-button
            >
          </div>
        </el-col>
      </el-form>
    </el-dialog>

    <!--    设备选取对话框-->
    <el-dialog
      title="设备选取"
      v-model="openChoose"
      :close-on-click-modal="false"
      draggable
      width="500px"
      append-to-body
    >
      <el-table
        v-loading="loading"
        border
        size="mini"
        height="300"
        :data="itmDetList"
        :header-cell-style="{ 'text-align': 'center' }"
        @selection-change="handleSelectionChanges"
      >
        <el-table-column type="selection" width="55" align="center" />
        <el-table-column label="机台编号" align="center" prop="jtmJtbh" />
        <el-table-column label="机台吨位" align="center" prop="jtmJtdw" />
      </el-table>
      <div slot="footer" class="dialog-footer">
        <el-button @click="cancelChoose">取 消</el-button>
        <el-button type="primary" @click="submitFormJt">确 定</el-button>
      </div>
    </el-dialog>
  </div>
</template>

<script>
import {
  listMoldingMstr,
  getMoldingMstr,
  checkAllMold,
  delMoldingMstr,
  addMoldingMstr,
  updateMoldingMstr,
  exportInspection,
  getInfoByMjbh,
} from "@/api/project/MoldingMstr";
import { printOrder } from "@/utils/ruoyi";
import { getJtmByTon, selectJtmByInput } from "@/api/project/jtm";
import { getMjmByMjbhOne, mjmMjbhDict } from "@/api/project/mjmMstr";
import { selectItmByWldm } from "@/api/project/materiel";
import { listItdDet } from "@/api/project/itdDet";
import { exportBcm } from "@/api/base/bcm";
import { exportChmReport } from "@/api/output/proShipped";
import { getDocList } from "@/api/project/docList";

export default {
  name: "MoldingMstr",
  data() {
    return {
      //模具编号字典
      mjmMjbhOptions: [],
      //模具编号前50
      mjmMjbhList: [],
      custwldmList: [],
      // 遮罩层
      loading: true,
      // 导出遮罩层
      exportLoading: false,
      // 选中数组
      ids: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      openSearch: false,
      // 总条数
      total: 0,
      // 外观列表
      appearanceList: [],
      appearance: [],
      // 注塑成型参数标准导入表格数据
      MoldingMstrList: [],
      // 弹出层标题
      title: "",
      // 是否显示弹出层
      open: false,
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 30,
        moldMjbh: null,
        moldCustwldm: null,
        moldZq: null,
        docSyjt: null,
        moldZtbz: "",
      },
      dateRange: [
        this.$moment().add(-10, "year").endOf("month").format(),
        this.$moment().add(10, "year").endOf("month").format(),
      ],
      // 表单参数
      form: {},
      moldingForm: {},
      jtdwOptions: [],
      jtBh: "",
      openChoose: false,
      moldJtdw: "",
      Dw: null,
      moldJt: "",
      itmDetList: [],
      openStrA: false,
      // 用户导入参数
      moldOpen: false,
      // 表单校验
      rules: {},
      rules2: {
        // moldJtdw: [{ required: true, message: '请选择机台吨位', trigger: 'input' }],
        // moldJt: [{ required: true, message: '请选择适用机台', trigger: 'input' }],
        moldMjbh: [{ required: true, message: "请选择模具", trigger: "input" }],
        moldCustwldm: [
          { required: true, message: "请选择物料", trigger: "input" },
        ],
        moldZq: [
          { required: true, message: "请输入产品周期", trigger: "input" },
        ],
        moldHlwd: [
          {
            required: false,
            pattern: /^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/,
            message: "请输入有效数值！",
            trigger: "input",
          },
        ],
        moldSmRate: [
          {
            required: false,
            pattern: /^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/,
            message: "请输入有效数值！",
            trigger: "input",
          },
        ],
        cusName: [
          {
            required: true,
            message: "该模具没有客户信息，联系技术部处理！",
            trigger: "input",
          },
        ],
      },
    };
  },
  watch: {
    dateRange(val, old) {
      if (val && val[1]) {
        this.queryParams.params.ksrq = val[0];
        this.queryParams.params.jsrq = val[1];
      } else {
        this.queryParams.params = {};
      }
    },
  },
  created() {
    mjmMjbhDict().then((res) => {
      this.mjmMjbhOptions = res.data;
    });
    this.getList();
    selectJtmByInput().then((res) => {
      this.jtdwOptions = res.data;
    });
  },
  methods: {
    /** 查询注塑成型参数标准导入列表 */
    getList() {
      this.loading = false;
      this.loading = true;
      this.queryParams.pageNum = 1;
      this.queryParams.params = {};
      if (null != this.daterangeChmJlrq && "" != this.daterangeChmJlrq) {
        this.queryParams.params["ksrq"] = this.moment(
          this.daterangeChmJlrq[0]
        ).format("YYYY-MM-DD HH:mm:ss");
        this.queryParams.params["jsrq"] = this.moment(
          this.daterangeChmJlrq[1]
        ).format("YYYY-MM-DD HH:mm:ss");
      }
      listMoldingMstr(this.queryParams).then((response) => {
        this.MoldingMstrList = [];
        this.MoldingMstrList = this.MoldingMstrList.concat(response.rows);
        this.total = response.total;
        this.loading = false;
      });
    },

    //load
    load() {
      if (
        this.queryParams.pageNum <
        Math.ceil(this.total / this.queryParams.pageSize)
      ) {
        this.queryParams.pageNum++;
        listMoldingMstr(this.queryParams).then((response) => {
          this.MoldingMstrList = this.MoldingMstrList.concat(response.rows);
          this.total = response.total;
          this.loading = false;
        });
      }
      return 0;
    },
    printHandle(row) {
      const data = { moldId: row.moldId };
      printOrder(
        "/project/MoldingMstr/exportMoldingMstrTemplate",
        data,
        "成型参数信息"
      );
    },
    // 取消按钮
    cancel() {
      this.open = false;
      this.openSearch = false;
      this.openStrA = false;
      this.reset();
    },
    // 表单重置
    reset() {
      this.form = {
        moldId: null,
        moldMjbh: null,
        moldCustwldm: null,
        moldDw: null,
        moldZq: null,
        moldSmRate: null,
        moldHlwd: null,
        moldInformation: null,
      };
      this.moldingForm = {
        rightDesc1: null,
        rightDesc2: null,
        moldId: null,
        moldPathDjbh: null,
        moldJtdw: null,
        moldJt: null,
        cusName: null,
        itmWlpm: null,
        mjmXs: null,
        molSm: null,
        itmYsdm: null,
        moldMjbh: null,
        moldCustwldm: null,
        moldDw: null,
        moldRawMaterial: null,
        moldZq: null,
        moldSmRate: null,
        moldHlwd: null,
        sgPressure1: null,
        sgSpeed1: null,
        sgLocation1: null,
        sgPressure2: null,
        sgSpeed2: null,
        sgLocation2: null,
        sgPressure3: null,
        sgSpeed3: null,
        sgLocation3: null,
        sgPressure4: null,
        sgSpeed4: null,
        sgLocation4: null,
        sgPressure5: null,
        sgSpeed5: null,
        sgLocation5: null,
        pmPressure1: null,
        pmSpeed1: null,
        pmLocation1: null,
        pmPressure2: null,
        pmSpeed2: null,
        pmLocation2: null,
        pmPressure3: null,
        pmSpeed3: null,
        pmLocation3: null,
        storingBackPressure1: null,
        storingPressure1: null,
        storingSpeed1: null,
        storingLocation1: null,
        storingBackPressure2: null,
        storingPressure2: null,
        storingSpeed2: null,
        storingLocation2: null,
        storingBackPressure3: null,
        storingPressure3: null,
        storingSpeed3: null,
        storingLocation3: null,
        sbdPressure: null,
        sbdSpeed: null,
        sbdLocation: null,
        injectionTime: null,
        coolingTime: null,
        storingTime: null,
        remnantMM: null,
        pmSwitchover: null,
        ctNozzle: null,
        ct1: null,
        ct2: null,
        ct3: null,
        ct4: null,
        ct5: null,
        ct6: null,
        tsTimeDelay1: null,
        tsOpen1: null,
        tsTimeDelay2: null,
        tsOpen2: null,
        tsTimeDelay3: null,
        tsOpen3: null,
        tsTimeDelay4: null,
        tsOpen4: null,
        tsTimeDelay5: null,
        tsOpen5: null,
        tsTimeDelay6: null,
        tsOpen6: null,
        tsTimeDelay7: null,
        tsOpen7: null,
        tsTimeDelay8: null,
        tsOpen8: null,
        tsTimeDelay9: null,
        tsOpen9: null,
        tsTimeDelay10: null,
        tsOpen10: null,
        tsTimeDelay11: null,
        tsOpen11: null,
        tsTimeDelay12: null,
        tsOpen12: null,
        tsTimeDelay13: null,
        tsOpen13: null,
        tsTimeDelay14: null,
        tsOpen14: null,
        tsTimeDelay15: null,
        tsOpen15: null,
        tsTimeDelay16: null,
        tsOpen16: null,
        tsTimeDelay17: null,
        tsOpen17: null,
        tsTimeDelay18: null,
        tsOpen18: null,
        hr1: null,
        hr2: null,
        hr3: null,
        hr4: null,
        hr5: null,
        hr6: null,
        hr7: null,
        hr8: null,
        hr9: null,
        hr10: null,
        hr11: null,
        hr12: null,
        hr13: null,
        hr14: null,
        hr15: null,
        hr16: null,
        hr17: null,
        hr18: null,
        hr19: null,
        hr20: null,
        hr21: null,
        hr22: null,
        hr23: null,
        hr24: null,
        hr25: null,
        hr26: null,
        hr27: null,
        hr28: null,
        hr29: null,
        hr30: null,
        hr31: null,
        hr32: null,
        hr33: null,
        hr34: null,
        hr35: null,
        hr36: null,
        hr37: null,
        hr38: null,
        hr39: null,
        hr40: null,
        hr41: null,
        hr42: null,
        dt1: "前模（   ）组机水，水温（  ）℃，（    ）组机水",
        dt2: "后模（  ）组热水，水温（  ）℃，（    ）组冰水",
        dt3: "行位（    ）组热水，水温（    ）℃，（　  ）组机水",
        dt4: "行位（    ）组热水，水温（    ）℃，（　  ）组机水",
        msPressureFast: null,
        msSpeedFast: null,
        msLocationFast: null,
        msPressureMS: null,
        msSpeedMS: null,
        msLocationMS: null,
        msPressureSlow: null,
        msSpeedSlow: null,
        msLocationSlow: null,
        msPressureLP: null,
        msSpeedLP: null,
        msLocationLP: null,
        msPressureHP: null,
        msSpeedHP: null,
        msLocationHP: null,
        omPressure1: null,
        omSpeed1: null,
        omLocation1: null,
        omPressure2: null,
        omSpeed2: null,
        omLocation2: null,
        omPressure3: null,
        omSpeed3: null,
        omLocation3: null,
        omPressure4: null,
        omSpeed4: null,
        omLocation4: null,
        omPressureEnd: null,
        omSpeedEnd: null,
        omLocationEnd: null,
        dzjPressure1: null,
        dzjSpeed1: null,
        dzjLocation1: null,
        dzjPressure2: null,
        dzjSpeed2: null,
        dzjLocation2: null,
        dztPressure1: null,
        dztSpeed1: null,
        dztLocation1: null,
        dztPressure2: null,
        dztSpeed2: null,
        dztLocation2: null,
        zzjPressure1: null,
        zzjSpeed1: null,
        zzjLocation1: null,
        zzjPressure2: null,
        zzjSpeed2: null,
        zzjLocation2: null,
        zztPressure1: null,
        zztSpeed1: null,
        zztLocation1: null,
        zztPressure2: null,
        zztSpeed2: null,
        zztLocation2: null,
        lpTime: null,
        times1: null,
        times2: null,
        times3: null,
        times4: null,
      };
      this.resetForm("form");
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.MoldingMstrList = [];
      this.getList();
      this.openSearch = false;
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.resetForm("queryForm");
      this.handleQuery();
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map((item) => item.moldId);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.open = true;
      this.title = "添加注塑成型参数标准导入";
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.reset();
      const moldId = row.moldId || this.ids;
      getMoldingMstr(moldId).then((response) => {
        this.form = response.data;
        this.moldingForm = JSON.parse(response.data.mold_information);
        console.log(response.data.moldId);
        this.moldingForm.moldId = response.data.moldId;
        this.moldingForm.moldPathDjbh = response.data.mold_path_djbh;
        this.moldOpen = true;
        this.title = "修改注塑参数成型表";
      });
    },
    //批量审核
    handleCheck(row) {
      const moldIds = row.moldId || this.ids;
      checkAllMold(moldIds)
        .then((res) => {
          this.getList();
          this.msgSuccess("审核成功");
        })
        .catch(() => {
          this.msgError("审核单据失败~");
        });
    },
    handleSearch() {
      this.reset();
      this.title = "查询";
      this.openSearch = true;
    },
    handleImgLook(a) {
      getDocList(a.moldPathDjbh).then((res) => {
        if (res.data) {
          let files = process.env.VUE_APP_BASE_API + res.data.docPath;
          window.open(files);
        }
      });
    },
    /** 提交按钮 */
    submitForm() {
      this.$refs["form"].validate((valid) => {
        if (valid) {
          if (this.form.moldId != null) {
            updateMoldingMstr(this.form).then((response) => {
              this.msgSuccess("修改成功");
              this.open = false;
              this.getList();
            });
          } else {
            addMoldingMstr(this.form).then((response) => {
              this.msgSuccess("新增成功");
              this.open = false;
              this.getList();
            });
          }
        }
      });
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      const moldIds = row.moldId || this.ids;
      this.$confirm(
        '是否确认删除注塑成型参数标准导入编号为"' + moldIds + '"的数据项?',
        "警告",
        {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning",
        }
      )
        .then(function () {
          return delMoldingMstr(moldIds);
        })
        .then(() => {
          this.getList();
          this.msgSuccess("删除成功");
        })
        .catch(() => {});
    },
    handleImport() {
      this.getMjbhListTOP50("");
      this.moldJtdw = "";
      this.moldJt = "";
      this.Dw = "";
      this.openStrA = true;
      this.title = "新增注塑参数成型表";
    },
    handleSelectionChanges(selection) {
      this.jtBh = selection.map((item) => item.jtmJtbh);
      let a = "";
      for (const itm of this.jtBh) {
        a += itm + ",";
      }
      a = a.slice(0, a.length - 1);
      this.moldJt = a;
    },
    cancelChoose() {
      this.openChoose = false;
      this.itmDetList = [];
      this.moldJt = "";
    },
    submitFormJt() {
      this.openChoose = false;
    },
    handleOpenForm() {
      this.reset();
      this.moldOpen = true;
    },
    querySearch(queryString, cb) {
      const jtmJtdw = this.moldJtdw;
      selectJtmByInput(jtmJtdw).then((response) => {
        this.Dw = response.data;
        for (let item of this.Dw) {
          item.value = item.jtmJtdw;
        }
        cb(this.Dw);
      });
    },
    clickChoose() {
      const jtmsJtdw = this.moldJtdw;
      getJtmByTon({ jtmJtdw: jtmsJtdw }).then((response) => {
        this.itmDetList = response.data;
        this.openChoose = true;
        this.titleStr = "设备选取";
      });
    },
    handleInspectionExport() {
      printOrder(
        "/project/MoldingMstr/exportInspection",
        null,
        "机台工艺稽查数据"
      );
    },

    saveMolding() {
      this.$refs["pdForm"].validate((valid) => {
        if (valid) {
          if (!this.moldingForm.cusName) {
            this.msgError("模具没有客户信息，联系技术部处理~");
            return;
          }
          const numberValidate = Object.keys(this.moldingForm).some((k) => {
            //if (k.match('^(dzj|dzt|hr|ms|mo|om|pm|sg|ts|zzj|zzt|storing|times|ct|).*')) {
            if (/^(?!mold|dt|rightDesc|cus|mol|itm).+/.test(k)) {
              if (
                this.moldingForm[k] &&
                !/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(
                  this.moldingForm[k]
                )
              ) {
                console.log(k);
                this.msgError(
                  `(${this.moldingForm[k]})不是有效的数值，请输入有效的数值！`
                );
                return true;
              }
            }
          });
          if (numberValidate) return;
          if (this.moldingForm.moldId) {
            updateMoldingMstr(this.moldingForm).then(() => {
              this.moldOpen = false;
              this.reset();
              this.getList();
            });
          } else {
            this.moldingForm.moldJtdw = this.moldJtdw;
            this.moldingForm.moldJt = this.moldJt;
            addMoldingMstr(this.moldingForm).then((res) => {
              this.moldOpen = false;
              this.reset();
              this.getList();
            });
          }
        }
      });
    },
    getPmgg(itmWldm) {
      for (let i of this.custwldmList) {
        if (i.itmCustwldm == itmWldm) {
          if (!i.cusName) {
            this.msgError("模具没有客户信息，联系技术部处理");
          }
          this.moldingForm.itmWlpm = i.itmWlpm;
          this.moldingForm.cusName = i.cusName;
          this.moldingForm.mjmXs = i.mjmXs;
          this.moldingForm.molSm = i.molSm;
          this.moldingForm.itmYsdm = i.itmYsdm;
          this.moldingForm.moldRawMaterial = i.moldRawMaterial;
        }
      }
    },
    getMjbhListTOP50(input) {
      let temp = [];
      let that = this;
      new Promise(function (resolve, reject) {
        for (let i of that.mjmMjbhOptions) {
          if (i.indexOf(input) != -1) {
            temp.push(i);
          }
        }
        resolve(temp);
      }).then((res) => {
        that.mjmMjbhList = res.slice(0, 50);
      });
    },
    getCustom(itdMjbh) {
      if (itdMjbh != null && itdMjbh != "") {
        getInfoByMjbh({ itdMjbh: itdMjbh }).then((response) => {
          this.moldingForm.itmWlpm = null;
          this.moldingForm.cusName = null;
          this.moldingForm.mjmXs = null;
          this.moldingForm.molSm = null;
          this.moldingForm.itmYsdm = null;
          this.custwldmList = response.data;
        });
      }
    },
  },
};
</script>
<style lang="scss" scoped>
.app-container {
  ::v-deep .el-input--medium .el-input__inner {
    height: 29px;
    line-height: 29px;
    padding: 0px;
  }
  ::v-deep .el-input-group__append,
  .el-input-group__prepend {
    padding: 0px 10px;
  }
  ::v-deep .el-form-item--mini.el-form-item,
  .el-form-item--small.el-form-item {
    margin-bottom: 0px;
  }
}
</style>
